home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 2,801 to 2,900
/
aol-file-protocol-4400-2801-to-2900.zip
/
AOLDLs
/
TAWUG
/
TAWUG Disk No. 69 (SHK)
/
TAWUG69.shk
/
MACRO.GLOSSARY
(
.txt
)
< prev
next >
Wrap
AppleWorks Document
|
1988-05-03
|
3KB
|
53 lines
O=====|====|====|====|====|====|====|====|====|====|====|====|====|====|====|===
GLOSSARY MACROS
:Here are some UltraMacro macros that you can use when you ;
9are writing a paper and want to create a word/definition
glossary for your paper.
START
------------------------------------------------------------
;The following macro automatically compiles the current AWP
file.
<ba-c>:<awp $0 = "Macro Compiler" : oa-esc find rtn rtn>NB!8
6Compile current file; add a <rtn> token after "NB" to >
<automatically execute the first macro in the new set; the N :
8and B at the end select the "No pause" and compile from 6
4"Beginning" options in the "Macro Compiler" TimeOut
application
------------------------------------------------------------
MACRO # 1
:This one will copy the word and any text around it to the <
:bottom of the file, where it will allow you to modify the >
<definition (Don't use a carriage Return until you are ready /
to return - to your text where you left off).
{Put the cursor Somewhere on your keyword}
G:<awp><oa-Right><oa-left><oa-: :
{Capatilizes the keyword}
oa-Right><insert>-<spc><oa-left><oa-left :1
{inserts a hyphen then returns to the key word}
oa-C>T<input><Rtn : oa-; : oa-Right :sa-Del : sa-Del :;
{Allows transfer of text with the keyword to end of file}
oa-9><Rtn : oa-M>F<Rtn :0
{Moves the marked text to the end of the file}
oa-F>T<oa-Y><input><Rtn : Rtn :>
<{By typing in the last few words of the moved text you will ;
later return to the point at which you departed the text}
input><Rtn : Del: Del : oa-1><oa-F>T<Rtn>N!6
4{Not using the Return Key, Make any changes to your ?
=definition NOW - Hit the Return Key to return to the point "
at which you left your document}
------------------------------------------------------------
MACRO # 2
;{If you would rather do the glossary all at one time, this <
:one will mark words in your paper so that you may compile
the glossary later}
~:<awp><insert><oa-Right><oa-left><sa-.>~!
------------------------------------------------------------
MACRO # 3
9This macro finds those words you marked for inclusion in <
:your Glossary. It will then do what is described in sa-G
above.
<<ba-G>:<awp><zoom : oa-Z : oa-1><oa-F>T<oa-Y>~<Rtn>N<oa-Z :
sa-del><left><sa-G>!:
8{Remove the ~ and then does a <sa-G> -- if no ~ are =
found this macro will start to do the top line of document}